﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BC3 RID: 3011
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyReRollRandomCsReq : IMessage<MonopolyReRollRandomCsReq>, IMessage, IEquatable<MonopolyReRollRandomCsReq>, IDeepCloneable<MonopolyReRollRandomCsReq>, IBufferMessage
	{
		// Token: 0x170025ED RID: 9709
		// (get) Token: 0x060086A5 RID: 34469 RVA: 0x00165D80 File Offset: 0x00163F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyReRollRandomCsReq> Parser
		{
			get
			{
				return MonopolyReRollRandomCsReq._parser;
			}
		}

		// Token: 0x170025EE RID: 9710
		// (get) Token: 0x060086A6 RID: 34470 RVA: 0x00165D87 File Offset: 0x00163F87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyReRollRandomCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025EF RID: 9711
		// (get) Token: 0x060086A7 RID: 34471 RVA: 0x00165D99 File Offset: 0x00163F99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyReRollRandomCsReq.Descriptor;
			}
		}

		// Token: 0x060086A8 RID: 34472 RVA: 0x00165DA0 File Offset: 0x00163FA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomCsReq()
		{
		}

		// Token: 0x060086A9 RID: 34473 RVA: 0x00165DA8 File Offset: 0x00163FA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomCsReq(MonopolyReRollRandomCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060086AA RID: 34474 RVA: 0x00165DCD File Offset: 0x00163FCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomCsReq Clone()
		{
			return new MonopolyReRollRandomCsReq(this);
		}

		// Token: 0x170025F0 RID: 9712
		// (get) Token: 0x060086AB RID: 34475 RVA: 0x00165DD5 File Offset: 0x00163FD5
		// (set) Token: 0x060086AC RID: 34476 RVA: 0x00165DDD File Offset: 0x00163FDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x060086AD RID: 34477 RVA: 0x00165DE6 File Offset: 0x00163FE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyReRollRandomCsReq);
		}

		// Token: 0x060086AE RID: 34478 RVA: 0x00165DF4 File Offset: 0x00163FF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyReRollRandomCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060086AF RID: 34479 RVA: 0x00165E24 File Offset: 0x00164024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060086B0 RID: 34480 RVA: 0x00165E63 File Offset: 0x00164063
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060086B1 RID: 34481 RVA: 0x00165E6B File Offset: 0x0016406B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060086B2 RID: 34482 RVA: 0x00165E74 File Offset: 0x00164074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060086B3 RID: 34483 RVA: 0x00165EA8 File Offset: 0x001640A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060086B4 RID: 34484 RVA: 0x00165EE6 File Offset: 0x001640E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyReRollRandomCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060086B5 RID: 34485 RVA: 0x00165F17 File Offset: 0x00164117
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060086B6 RID: 34486 RVA: 0x00165F20 File Offset: 0x00164120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400334C RID: 13132
		private static readonly MessageParser<MonopolyReRollRandomCsReq> _parser = new MessageParser<MonopolyReRollRandomCsReq>(() => new MonopolyReRollRandomCsReq());

		// Token: 0x0400334D RID: 13133
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400334E RID: 13134
		public const int EventIdFieldNumber = 4;

		// Token: 0x0400334F RID: 13135
		private uint eventId_;
	}
}
